﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000BA RID: 186
	internal class UInt32UInt32 : IUInt32Decoder
	{
		// Token: 0x060002D9 RID: 729 RVA: 0x0000BB2B File Offset: 0x00009F2B
		private UInt32UInt32()
		{
		}

		// Token: 0x060002DA RID: 730 RVA: 0x0000BB33 File Offset: 0x00009F33
		public uint Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 5;
			return (uint)((int)bytes[offset + 1] << 24 | (int)bytes[offset + 2] << 16 | (int)bytes[offset + 3] << 8 | (int)bytes[offset + 4]);
		}

		// Token: 0x040000D9 RID: 217
		internal static readonly IUInt32Decoder Instance = new UInt32UInt32();
	}
}
